package com.example.monitoring.model;

import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 监控结果类
 * 
 * @author rsz
 * @since 2024-04-13
 */
@Data
@Builder
public class MonitoringResult {
    /**
     * 监控项名称
     */
    private String name;
    
    /**
     * 监控状态
     */
    private MonitoringStatus status;
    
    /**
     * 监控时间
     */
    private LocalDateTime monitorTime;
    
    /**
     * 监控详情
     */
    private String details;
    
    /**
     * 监控指标数据
     */
    private Map<String, Object> metrics;
} 